package com.house.core.model.response;

import com.house.core.model.ErrorCode;

/**
 * @author 孙崇
 *	2013-2-18
 */
public abstract class Response {

	private ErrorCode errorCode = ErrorCode.SUCCESS;

	public ErrorCode getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(ErrorCode errorCode) {
		this.errorCode = errorCode;
	}

	@Override
	public String toString() {
		return "Response [errorCode=" + errorCode + "]";
	}
}
